ntohs (ws2_32)
Last changed: -209.87.238.132

.
Summary
Convert 16-bit value from network to host byte order

C# Signature:

[DllImport("ws2_32.dll", SetLastError=true)]
static extern UInt16 ntohs (UInt16);

VB Signature:

Declare Function ntohs  Lib "ws2_32.dll" (UInt16) As UInt16

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation
ntohs @msdn on MSDN